/*    */ package eos.moe.dragoncore;
/*    */ 
/*    */ public class uq
/*    */ {
/*    */   public static byte v(String a) throws NumberFormatException {
/*    */     try {
/*  7 */       return Byte.parseByte(a);
/*  8 */     } catch (NumberFormatException numberFormatException) {
/*  9 */       throw new NumberFormatException("Not a valid byte");
/*    */     } 
/*    */   }
/*    */   
/*    */   public static short v(String a) throws NumberFormatException {
/*    */     try {
/* 15 */       return Short.parseShort(a);
/* 16 */     } catch (NumberFormatException numberFormatException) {
/* 17 */       throw new NumberFormatException("Not a valid short");
/*    */     } 
/*    */   }
/*    */   
/*    */   public static int v(String a) throws NumberFormatException {
/*    */     try {
/* 23 */       return Integer.parseInt(a);
/* 24 */     } catch (NumberFormatException numberFormatException) {
/* 25 */       throw new NumberFormatException("Not a valid int");
/*    */     } 
/*    */   }
/*    */   
/*    */   public static long v(String a) throws NumberFormatException {
/*    */     try {
/* 31 */       return Long.parseLong(a);
/* 32 */     } catch (NumberFormatException numberFormatException) {
/* 33 */       throw new NumberFormatException("Not a valid long");
/*    */     } 
/*    */   }
/*    */   
/*    */   public static float v(String a) throws NumberFormatException {
/*    */     try {
/* 39 */       return Float.parseFloat(a);
/* 40 */     } catch (NumberFormatException numberFormatException) {
/* 41 */       throw new NumberFormatException("Not a valid float");
/*    */     } 
/*    */   }
/*    */   
/*    */   public static double v(String a) throws NumberFormatException {
/*    */     try {
/* 47 */       return Double.parseDouble(a);
/* 48 */     } catch (NumberFormatException numberFormatException) {
/* 49 */       throw new NumberFormatException("Not a valid double");
/*    */     } 
/*    */   }
/*    */   
/*    */   public static byte[] v(String a) throws NumberFormatException {
/*    */     try {
/* 55 */       String[] arrayOfString = a.split(" ");
/* 56 */       byte[] arrayOfByte = new byte[arrayOfString.length];
/* 57 */       for (int i = 0; i < arrayOfString.length; i++)
/* 58 */         arrayOfByte[i] = v(arrayOfString[i]); 
/* 59 */       return arrayOfByte;
/* 60 */     } catch (NumberFormatException numberFormatException) {
/* 61 */       throw new NumberFormatException("Not a valid byte array");
/*    */     } 
/*    */   }
/*    */   
/*    */   public static int[] v(String a) throws NumberFormatException {
/*    */     try {
/* 67 */       String[] arrayOfString = a.split(" ");
/* 68 */       int[] arrayOfInt = new int[arrayOfString.length];
/* 69 */       for (int i = 0; i < arrayOfString.length; i++)
/* 70 */         arrayOfInt[i] = v(arrayOfString[i]); 
/* 71 */       return arrayOfInt;
/* 72 */     } catch (NumberFormatException numberFormatException) {
/* 73 */       throw new NumberFormatException("Not a valid int array");
/*    */     } 
/*    */   }
/*    */ }


/* Location:              D:\fanbian\[D][龙之核心]DragonCore-2.6.0.3.jar!\eos\moe\dragoncor\\uq.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */